<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/12/8
 * Time: 16:31
 */
$imgurl='public/image/'.$_FILES['file']['name'];
move_uploaded_file($_FILES['file']['tmp_name'],'public/image/'.$_FILES['file']['name']);
header('location:changeimg.php?log='.$imgurl);